-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(vscode): show inline diff of characters #3709
Conversation
3bd2214
to
eabbc1e
Compare
Hi @zhanba I created a simple snippet to test the diff decoration, but it doesn't seem to handle this case properly. Could you please take a look? |
eabbc1e
to
491c8bb
Compare
Fix some decoration calculation error. For this case, we can only get below result due to limitation of the The monaco diff editor show a better result, I will check if we can use the monaco diff algorithm. |
42975cc
to
337475b
Compare
337475b
to
ae9d721
Compare
bf4a411
to
9e47623
Compare
9e47623
to
62d86aa
Compare
Fixed |
Feature
demo:
https://jam.dev/c/164ab01c-d916-4519-8a81-b212e87c00b2